package com.yanliang.model;

import java.util.List;

/**
 * @author yanliang
 * @date 5/10/20204:03 PM
 */
public class MyHost {
	private String name;
	private String url;
	private List<MyContext> contextList;

	public MyHost(String name, String url, List<MyContext> contexts) {
		this.name = name;
		this.url = url;
		this.contextList = contexts;
	}

	public String getName() {
		return name;
	}

	public MyHost setName(String name) {
		this.name = name;
		return this;
	}

	public String getUrl() {
		return url;
	}

	public MyHost setUrl(String url) {
		this.url = url;
		return this;
	}

	public List<MyContext> getContexts() {
		return contextList;
	}

	public MyHost setContexts(List<MyContext> contextList) {
		this.contextList = contextList;
		return this;
	}
}
